package com.xxxx.tkmapperdemo01.mapper;

import com.xxxx.tkmapperdemo01.entity.User;
import com.xxxx.tkmapperdemo01.general.GeneralMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper//识别mybatis的mapper接口，生成动态代理类
public interface UserMapper extends GeneralMapper<User> {
    //自定义方法
    public User selectbyusername(String username);//根据用户名进行查询
}
